package com.yztstudy.service;

import com.yztstudy.dto.Result;
import com.yztstudy.entity.Voucher;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * Voucher的业务逻辑层接口
 */
public interface IVoucherService extends IService<Voucher> {

    public abstract Result queryVoucherOfShop(Long shopId); //查询某个店铺里面的所有优惠券

    public abstract void addSeckillVoucher(Voucher voucher); //添加优惠券

}
